package com.restfinder.user.dao;

import org.springframework.security.core.userdetails.UserDetailsService;

import com.restfinder.common.dao.IRepository;
import com.restfinder.user.model.User;

public interface UserRepository extends IRepository<User>, UserDetailsService {

	public boolean isUsernameUnique(String login, User user);
	public User getByUsername(String username);
}
